//
//  CoverView.h
//  overFlow
//
//  Created by 于 百和 on 13-4-17.
//  Copyright (c) 2013年 于 百和. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CoverViewDelegate <NSObject>

-(void)toNextPage;
-(void)toPreviousPage;
-(void)click;
-(void)EnterDetail;

@end

@interface CoverView : UIControl
{
    id<CoverViewDelegate> delegate;
    UIButton * btnEnterCar;
    UIImageView * logoImageView;
    
    @public
    CGPoint ptTouchBegin;
    CGPoint orTouchBegin;
    CGPoint ptLast;
    CGFloat nFingerDistance;
    
}
@property (nonatomic,retain) id <CoverViewDelegate> delegate;

@property (nonatomic,assign) CGFloat nFingerDistance;

-(void)SetLogoImage:(NSString *)imagepath;
@end
